<?php
/**
 * Created by PhpStorm.
 * User: zjw
 * Date: 2018/5/18
 * Time: 下午12:43
 */
use yii\helpers\Html;
use yii\widgets\ActiveForm;

?>


<div class="article-form">
    <?php $form = ActiveForm::begin([
    ]); ?>

    公开券总数<input name="totalNum" value="<?php echo $totalNum; ?>">
    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? '创建' : '更新', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>
    <?php ActiveForm::end(); ?>
</div>

